package com.acegear.horizon.domain.events;

/**
 * Created by guoweike on 17/1/23.
 */
//活动联办单位删除
public class ActivitySponsorDeleteEvent extends BaseEvent {

  private Long activityId;

  //联办俱乐部id
  private Long clubId;

  public ActivitySponsorDeleteEvent(Long activityId, Long clubId) {
    this.activityId = activityId;
    this.clubId = clubId;
    genEventId();
  }

  public ActivitySponsorDeleteEvent() {
  }

  public Long getActivityId() {
    return activityId;
  }

  public void setActivityId(Long activityId) {
    this.activityId = activityId;
  }

  public Long getClubId() {
    return clubId;
  }

  public void setClubId(Long clubId) {
    this.clubId = clubId;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.activity.sponsor.update";
  }
}
